﻿using UnityEngine;
using UnityEngine.SceneManagement;

public class BGMusic : MonoBehaviour {

	public AudioSource BgMusic;
	public AudioClip[] BGClip;

	void Start () {
		DontDestroyOnLoad (this.gameObject);
		BgMusic.clip = BGClip [0];//Random.Range(0,BGClip.Length)];
		BgMusic.Play ();
	}
}
